#ifndef STAFFRESULTCLASS_H
#define STAFFRESULTCLASS_H

class QString;

class StaffResultClass
{
public:
    StaffResultClass() {}
    StaffResultClass(const StaffResultClass &org)
    {
        m_staffID = org.m_staffID;
        m_membercardRechargeTimes = org.m_membercardRechargeTimes;
        m_membercardAmount = org.m_membercardAmount;
        m_saleQuantity = org.m_saleQuantity;
        m_totalSales = org.m_totalSales;
        m_cost = org.m_cost;
        m_profit = org.m_profit;
        m_resultDate = org.m_resultDate;
    }
    StaffResultClass & operator =(const StaffResultClass &other)
    {
        if (this == &other)
            return *this;
        m_staffID = other.m_staffID;
        m_membercardRechargeTimes = other.m_membercardRechargeTimes;
        m_membercardAmount = other.m_membercardAmount;
        m_saleQuantity = other.m_saleQuantity;
        m_totalSales = other.m_totalSales;
        m_cost = other.m_cost;
        m_profit = other.m_profit;
        m_resultDate = other.m_resultDate;
        return *this;
    }
    StaffResultClass(const QString staffID, const QString membercardRechargeTimes,
              const QString membercardAmount, const QString saleQuantity,
              const QString totalSales, const QString cost, const QString profit,
              const QString resultDate)
    {
        m_staffID = staffID;
        m_membercardRechargeTimes = membercardRechargeTimes;
        m_membercardAmount = membercardAmount;
        m_saleQuantity = saleQuantity;
        m_totalSales = totalSales;
        m_cost = cost;
        m_profit = profit;
        m_resultDate = resultDate;
    }

    QString get_staffID() const {return m_staffID;}
    QString get_membercardRechargeTimes() const {return m_membercardRechargeTimes;}
    QString get_membercardAmount() const {return m_membercardAmount;}
    QString get_saleQuantity() const {return m_saleQuantity;}
    QString get_totalSales() const {return m_totalSales;}
    QString get_cost() const {return m_cost;}
    QString get_profit() const {return m_profit;}
    QString get_resultDate() const {return m_resultDate;}

    void set_staffID(QString staffID) {m_staffID = staffID;}
    void set_membercardRechargeTimes(QString membercardRechargeTimes)
    {m_membercardRechargeTimes = membercardRechargeTimes;}
    void set_membercardAmount(QString membercardAmount)
    {m_membercardAmount = membercardAmount;}
    void set_saleQuantity(QString saleQuantity) {m_saleQuantity = saleQuantity;}
    void set_totalSales(QString totalSales) {m_totalSales = totalSales;}
    void set_cost(QString cost) {m_cost = cost;}
    void set_profit(QString profit) {m_profit = profit;}
    void set_resultDate(QString resultDate) {m_resultDate = resultDate;}

private:
    QString m_staffID;
    QString m_membercardRechargeTimes;
    QString m_membercardAmount;
    QString m_saleQuantity;
    QString m_totalSales;
    QString m_cost;
    QString m_profit;
    QString m_resultDate;
};

#endif // STAFFRESULTCLASS_H
